package wifiunion.com.notice.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.RelativeLayout;
import android.widget.TextView;

import wifiunion.com.notice.R;
import wifiunion.com.notice.RecyclerItemClick;


/**
 * Created by Administrator on 2017/4/24.
 */

public class NoticeBackgroundViewHolder extends RecyclerView.ViewHolder{


    public ImageView mBgIv;
    /**
     * 头像
     */
    public ImageView mHeaderIv;
    /**
     * 状态
     */
    public ImageView mStatusIv;
    /**
     * 名称
     */
    public TextView mNameTv;
    /**
     * 通知内容
     */
    public TextView mNoticeTv;

    private RecyclerItemClick mItemClick;
    /**
     *
     */
    private int position ;


    public RelativeLayout timeRl;

    public TextView firstTv,lastTv/*,currentTv*/;

    public ImageView mUpIv;

    public ImageView mDownIv;



    public NoticeBackgroundViewHolder(View itemView) {
        super(itemView);
        mBgIv = (ImageView) itemView.findViewById(R.id.bg_iv);
        mHeaderIv = (ImageView) itemView.findViewById(R.id.header_iv);
        mStatusIv = (ImageView) itemView.findViewById(R.id.status_iv);
        mNameTv = (TextView) itemView.findViewById(R.id.name_tv);
        mNoticeTv = (TextView) itemView.findViewById(R.id.notice_tv);


        timeRl = (RelativeLayout) itemView.findViewById(R.id.time_layout);
        firstTv = (TextView) itemView.findViewById(R.id.first_time_tv);
        lastTv = (TextView) itemView.findViewById(R.id.last_time_tv);
//        currentTv = (TextView) itemView.findViewById(R.id.current_time_tv);

        mUpIv = (ImageView) itemView.findViewById(R.id.up_iv);

        mDownIv = (ImageView) itemView.findViewById(R.id.down_iv);


    }


}
